﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DbControl
{
    [Index("uk_id", nameof(id), true)]
    public class sensordatas
    {
        [Column(IsIdentity = true, IsPrimary = true)]
        public long id { get; set; }
        [Column(DbType = "nvarchar(50)")]
        public string sensor_sn { get; set; }
        [Column(DbType = "nvarchar(50)")]
        public string device_code { get; set; }
        [Column(DbType = "nvarchar(50)")]
        public string device_name { get; set; }
        public DateTime? create_time { get; set; }
        public float? temper {  get; set; }
        public float? dens { get; set; }
        public float? vis { get; set; }
        public float? vis40 { get; set; }
        public float? diel { get; set; }
        public float? ppm { get; set; }
        public float? aw { get; set; }
        public float? mo { get; set; }
        public float? par1 { get; set; }
        public float? par2 { get; set; }
        public float? par3 { get; set; }
        public float? par4 { get; set; }
        public float? par5 { get; set; }
        public float? par6 { get; set; }
        public float? par7 { get; set; }
        public float? par8 { get; set; }
        public float? class1 { get; set; }
        public float? class2 { get; set; }
        public float? class3 { get; set; }
        public float? class4 { get; set; }
        public float? class5 { get; set; }
        public float? class6 { get; set; }
        public float? class_total { get; set; }
        public float? standard { get; set; }
        public float? fe1 { get; set; }
        public float? fe2 { get; set; }
        public float? fe3 { get; set; }
        public float? fe4 { get; set; }
        public float? fe5 { get; set; }
        public float? fe6 { get; set; }
        public float? fe7 { get; set; }
        public float? fe8 { get; set; }
        public float? fe9 { get; set; }
        public float? fe10 { get; set; }
        public float? nfe1 { get; set; }
        public float? nfe2 { get; set; }
        public float? nfe3 { get; set; }
        public float? nfe4 { get; set; }
        public float? nfe5 { get; set; }
        public float? fe { get; set; }
        public float? nfe { get; set; }
        public float? state { get; set; }
        public float? press { get; set; }
        public float? speed { get; set; }
        public float? buffer_temper { get; set; }
    }
}
